<template>
    <div id="app">
        <Form :model="model" label-width="100px">
            <FormItem label="用户名">
               <Input placeholder="请输入用户名" v-model="model.username"></Input>
            </FormItem>
              <FormItem label="用户名">
                  <Swich v-model="model.active"></Swich>
            </FormItem>
        </Form>
    </div>
</template>
<script>
export default {
    data(){
        return{
            model:{
                username:'',
                active:true,
            }


        }
    }
}
</script>
<style>

</style>